package load;

import android.os.Bundle;
import android.support.annotation.Nullable;

import com.uestc.vshop.ytgoodprintandroid.R;
import com.uestc.vshop.ytgoodprintandroid.base.YTBaseActivity;
import com.uestc.vshop.ytgoodprintandroid.base.YTBaseFragment;

/**
 * Created by Administrator on 2017/10/3.
 */

public class LoginActivity extends YTBaseActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_login);

        YTBaseFragment fragment = findFragment(LoginFragment.class);
        if (fragment == null) {
            loadRootFragment(R.id.fl_container, LoginFragment.newInstance());
        }
    }
}
